import 'package:dailoz/generated/json/base/json_field.dart';
import 'package:dailoz/generated/json/task_statistic_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class TaskStatisticEntity {
	late String type;
	late double jan;
	late double feb;
	late double mar;
	late double apr;
	late double may;
	late double jun;
	late double jul;
	late double aug;
	late double sep;
	late double oct;
	late double nov;
	late double dece;

	TaskStatisticEntity();

	factory TaskStatisticEntity.fromJson(Map<String, dynamic> json) => $TaskStatisticEntityFromJson(json);

	Map<String, dynamic> toJson() => $TaskStatisticEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}